package com.bunde.model;

import lombok.*;

// 通过反射进行实例化，要求提供空参构造方法

@Data
@Getter
@Setter
@EqualsAndHashCode
@NoArgsConstructor
public class Model {
    private Integer val1;
    private Integer val2;
    private Integer val3;
    private Integer val4;
    private Integer val5;
    private Integer val6;
    private Integer val7;
    private Integer val8;
    private Integer val9;
    private Integer val10;
    private Integer val11;
    private Integer val12;
    private Integer val13;
    private Integer val14;
    private Integer val15;
    private Integer val16;
    private Integer val17;
    private Integer val18;
    private Integer val19;
    private Integer val20;

    public Model(Integer s){
        val1 = s;
        val2 = s + 1;
        val3 = s + 2;
        val4 = s + 3;
        val5 = s + 4;
        val6 = s + 5;
        val7 = s + 6;
        val8 = s + 7;
        val9 = s + 8;
        val10 = s + 9;
        val11 = s + 10;
        val12 = s + 11;
        val13 = s + 12;
        val14 = s + 13;
        val15 = s + 14;
        val16 = s + 15;
        val17 = s + 16;
        val18 = s + 17;
        val19 = s + 18;
        val20 = s + 19;
    }

}
